package com.design.pattern.observer;

public class ObserverTest2 {
    public static void main(String[] args) {
        WeatherData2 weatherData2 = new WeatherData2();
        CurrentConditionDisplay2 currentConditionDisplay2 = new CurrentConditionDisplay2(weatherData2);
        ForecastDisplay2 forecastDisplay2 = new ForecastDisplay2(weatherData2);

        weatherData2.setMeasurements(80,45,34.7f);
        weatherData2.setMeasurements(80,45,34.7f);
    }
}